package com.zyong.design.pattern.bridge.case3;

/**
 * @program: zyong-design-pattern
 * @ClassName: Client
 * @author: zyong
 * @create: 2024-04-06 23:49
 */
public class Client {
    public static void main(String[] args) {
        Mango mango = new Mango();
        Cake cake = new Cake(mango);
        cake.add();

        Banana banana = new Banana();
        Milk milk = new Milk(banana);
        milk.add();
    }
}
